package xyz.jfshare.netty.study.server.config;

public class Config {
    //一级
    public static final String COMMAND_PREFIX = "Command==>";
    public static final String MESSAGE_PREFIX = "Message==>";

    //二级
    public static final String LOGIN_COMMAND    = "login->";
    public static final String REGISTER_COMMAND = "register->";
    public static final String LOGOUT_COMMAND = "logout->";
    public static final String CHOOSE_CHANNEL_COMMAND = "choose channel->";
    public static final String ADD_FRIEND_COMMAND = "add friend->";
    public static final String SHOW_NOT_FRIEND_COMMAND = "show not friend->";
    public static final String SHOW_FRIEND_COMMAND = "show friend->";
    public static final String CHOOSE_WINDOW_COMMAND = "choose window->";
    public static final String GET_SYSTEM_MSG_COMMAND = "get system msg->";
    public static final String GET_USER_MSG_COMMAND = "get user msg->";
    public static final String HANDLER_SYSTEM_MSG_COMMAND = "handler system msg->";

    public static final String CHANNEL_CHAT_ROOM = "chat room->";
    public static final String CHANNEL_SINGLE_CHAT = "single chat->";

    public static final String CHOOSE_CHAT_ROOM = CHOOSE_CHANNEL_COMMAND + CHANNEL_CHAT_ROOM;
    public static final String CHOOSE_SINGLE_CHAT = CHOOSE_CHANNEL_COMMAND + CHANNEL_SINGLE_CHAT;

    public static final String MESSAGE_GROUP = "group->";
    public static final String MESSAGE_PERSON = "person->";

    public static final String MESSAGE_REGEX = "<-->";

    public static final String MESSAGE_CONTENT_FRIEND_APP = "好友请求:";
    public static final String MESSAGE_CONTENT_NOT_READ = "未读消息:";

    public static final Integer BANNED  = 0;
    public static final Integer OFFLINE = 1;
    public static final Integer ONLINE  = 2;
}
